var app = getApp()
import ajaxhelper from '../../utils/ajaxhelper.js';
import { signByMd5 } from "../../utils/util";
var goCommentPop = require("../common/goCommment/goCommment.js");//评论
Page({
  data: { 
    // showMaskComment: false,//去评论弹框
    // textNum: 0,//剩余评论字数
  },
  onLoad:function(options){
   
  },
  // 弹窗显示隐藏
  closeMask(e) {
    var id = e.currentTarget.dataset.id;
    this.setData({
      ['showMask' + id]: false
    });
  },
  showMask(e) {
    var id = e.currentTarget.dataset.id;
    this.setData({
      ['showMask' + id]: true
    });
  },
  // 弹出服务说明
  showCommentPop() {
    goCommentPop.set('goComment', {
      confirm: function (data) {
        console.log(data)
      }.bind(this)
    });
    goCommentPop.open('goComment')
  },

})
